<template>
  <n-drawer to="#content"
            resizable
            :min-width="502"
            :max-width="1000"
            v-model:width="width"
            :default-width="700">
    <slot v-bind="drawerContentProps" :drawerWidth="width"></slot>
  </n-drawer>
</template>
<script setup name="SDrawer">
const width = ref(700)
defineProps({
  drawerContentProps:{
    type:null,
    default:{
      closable:true
    }
  },

})
</script>
